package com.aspose.cells;

class zbzu extends zcdb {
   zbzu(zbmb var1) {
      if (!var1.b && !var1.c) {
         this.d = 21;
      } else {
         this.d = 28;
      }

      short var2 = 8;
      if (var1.b || var1.c) {
         var2 = (short)(var2 + 6);
      }

      this.c = new byte[var2];
      if (var1.a instanceof Integer) {
         double var3 = (double)(Integer)var1.a;
         System.arraycopy(com.aspose.cells.b.a.zc.a(var3), 0, this.c, 0, 8);
      } else if (var1.a instanceof Double) {
         System.arraycopy(com.aspose.cells.b.a.zc.a((Double)var1.a), 0, this.c, 0, 8);
      } else {
         System.arraycopy(com.aspose.cells.b.a.zc.a((Long)var1.a), 0, this.c, 0, 8);
      }

      if (var1.b) {
         this.c[8] = 2;
      }

      if (var1.c) {
         this.c[8] = (byte)(this.c[8] | 1);
      }

   }
}
